const jieliu = (handler,time) =>{
    let startTime = +new Date()
    return function () {
        let endTime = +new Date()
        if(endTime-startTime>time){
            handler.apply(this,arguments)
        }
    }
}

export default jieliu